---
title: "if · RUAL Documentation"
description: "Allows you to use different state UIs based on your given condition."
canonical: https://docs.rual.nl/block-types/state ui/state_branch
language: en
---

# if

This block is part of the [`state ui`](https://docs.rual.nl/block-types/state%20ui) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Allows you to use different state UIs based on your given condition.

| `branch` |
| --- |
| `condition` |

### Core Releases
